feat: support perfetto proto as tracing format#10549
Merged
Conversation
✅ Deploy Preview for rspack canceled.
|
CodSpeed Performance ReportMerging #10549 will not alter performanceComparing 🎉 Hooray!
|
d9daba8 to
d8691f9
Compare
stormslowly
reviewed
Jun 9, 2025
stormslowly
reviewed
Jun 9, 2025
511a069 to
6d01649
Compare
Co-authored-by: pshu <stormslowly@gmail.com>
Contributor
|
📝 Benchmark detail: Open
|
stormslowly
reviewed
Jun 10, 2025
Co-authored-by: pshu <stormslowly@gmail.com>
stormslowly
approved these changes
Jun 10, 2025
slorber
reviewed
Jun 12, 2025
2 tasks
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fix #10530 and
perfettolayer support which use perfetto native protobuf formatloggerlayer output to json format for better support for parsingCompare
legacy json format
which has following problems
Global Trace Eventwhich user doesn't know the meaning)native perfetto protocol
After moving from legacy json format to native protocol format we solves the following existing problems of legacy json format
loader analysis
plugin analysis
build overview
Todo
reduce trace file size by using interned_data for all module identifier
Checklist